Sorts the elements of a view in descending order.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)
Syntax
C# |
---|
public OrderedView<T> OrderByDescending<TKey>( Expression<Func<T, TKey>> keySelector ) |
Visual Basic |
---|
Public Function OrderByDescending(Of TKey) ( _ keySelector As Expression(Of Func(Of T, TKey)) _ ) As OrderedView(Of T) |
Parameters
- keySelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TKey>)>)>>)>)>
A function to extract a key from an element.
Type Parameters
- TKey
- The type of the key returned by keySelector.